(* There was a bug in the GMP version of the code where not all the result
   was being returned. *)

fun verify a b c =
if PolyML.IntInf.gcd(a, b) = c then () else raise Fail "Verification failed";

verify 9000988026767242076147268431373884447608090492573059
    24797715036919699953447189576200253247082031218688000 1053;
	
verify 200000000000000000000000000000000000000000000000000000000000000000
    50000000000000000000000000000000000000000000000000000000000000000
	50000000000000000000000000000000000000000000000000000000000000000;

verify 367111367871840337041 367111367871840337041 367111367871840337041;
